/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace DGZImp.DianduProject.DomainModels
{
    [Entity(TableCnName = "电镀日报",TableName = "Diandu_Daily",DBServer = "ServiceDbContext")]
    public partial class Diandu_Daily:ServiceEntity
    {
        /// <summary>
       ///加工单号
       /// </summary>
       [Display(Name ="加工单号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string WorkOrder { get; set; }

       /// <summary>
       ///产品
       /// </summary>
       [Display(Name ="产品")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string Product { get; set; }

       /// <summary>
       ///投料批次
       /// </summary>
       [Display(Name ="投料批次")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string LotNo { get; set; }

       /// <summary>
       ///发料重量
       /// </summary>
       [Display(Name ="发料重量")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string SendWeight { get; set; }

       /// <summary>
       ///领料时间
       /// </summary>
       [Display(Name ="领料时间")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string SendTime { get; set; }

       /// <summary>
       ///倒角后数量
       /// </summary>
       [Display(Name ="倒角后数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DaojiaoQty { get; set; }

       /// <summary>
       ///倒角后重量
       /// </summary>
       [Display(Name ="倒角后重量")]
       [DisplayFormat(DataFormatString="20,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? DaojiaoWeight { get; set; }

       /// <summary>
       ///倒角完成时间
       /// </summary>
       [Display(Name ="倒角完成时间")]
       [Column(TypeName="datetime")]
       public DateTime? DaojiaoTime { get; set; }

       /// <summary>
       ///倒角填写人
       /// </summary>
       [Display(Name ="倒角填写人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string DaojiaoCreator { get; set; }

       /// <summary>
       ///电镀工序
       /// </summary>
       [Display(Name ="电镀工序")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string DianduGroup { get; set; }

       /// <summary>
       ///电镀后重量
       /// </summary>
       [Display(Name ="电镀后重量")]
       [Column(TypeName="double")]
       [Editable(true)]
       public decimal? DianduWeight { get; set; }

       /// <summary>
       ///电镀后数量
       /// </summary>
       [Display(Name ="电镀后数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DianduQty { get; set; }

       /// <summary>
       ///电镀完成时间
       /// </summary>
       [Display(Name ="电镀完成时间")]
       [Column(TypeName="datetime")]
       public DateTime? DianduTime { get; set; }

       /// <summary>
       ///电镀填写人
       /// </summary>
       [Display(Name ="电镀填写人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       public string DianduCreator { get; set; }

       /// <summary>
       ///ID
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///是否有效
       /// </summary>
       [Display(Name ="是否有效")]
       [Column(TypeName="int")]
       public int? IsValid { get; set; }

       /// <summary>
       ///创建用户
       /// </summary>
       [Display(Name ="创建用户")]
       [Column(TypeName="bigint")]
       public long? CreateId { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改用户
       /// </summary>
       [Display(Name ="修改用户")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(512)]
       [Column(TypeName="nvarchar(512)")]
       [Editable(true)]
       public string Remarks { get; set; }

       
    }
}